package edu.gatech.cs2340.thecyclonesquad.models;

import java.util.Date;



public class Item {
	
	public String owner;
	public String name;
	public String description;
	public String location;
	public String reward;
	//public String date;
	//public java.text.DateFormat date;
	public Date date;
	public String type;
	public String category;
	public boolean status; // temporary for M8
	/**
	 * Constructor for item class.
	 * @param owner is the item's owner
	 * @param name is the name of the item
	 * @param description is the description of the item
	 * @param location is where the item is located
	 * @param reward is the amount of money that the owner of the item will pay as a reward
	 * @param date is the date the item was lost or recovered
	 * @param type is if lost or found
	 * @param category is the category of item
	 * @param status is if item claimed or not
	 * 
	 */
	public Item(String owner, String name, String description, String location, String reward, Date date, String type, String category, boolean status) {
		this.owner=owner;
		this.name=name;
        this.description=description;
        this.location=location;
        this.reward=reward;
        this.date=date;
        this.type=type;
        this.category=category;
        this.status = status;
	}
	//for found items
	/**
	 * Constructor for found items.
	 * @param owner is the item's owner
	 * @param name is the name of the item
	 * @param description is the description
	 * @param location is the location of item
	 * @param date is the date item was found
	 * @param type is if lost or found
	 * @param category is the category of item
	 * @param status is if item claimed or not
	 */
	public Item(String owner, String name, String description, String location, Date date, String type, String category, boolean status) {
		this.owner=owner;
		this.name=name;
        this.description=description;
        this.location=location;
        this.date=date;
        this.type=type;
        this.category=category;
        this.status=status;
	}

}
